package com.googlecode.gwtbb.client.only.remote.forum;

import com.google.gwt.user.client.rpc.RemoteService;
import com.googlecode.gwtbb.client.shared.entity.forum.Forum;
import com.googlecode.gwtbb.client.shared.remote.forum.CreateForumBean;
import com.googlecode.gwtbb.client.shared.remote.forum.CreateForumResponse;
import com.googlecode.gwtbb.client.shared.remote.forum.ForumPosts;

import java.util.List;

/**
 * @author Abraham Grief
 * @version $Id$
 * @since Apr 30, 2008
 */
public interface ForumService extends RemoteService {
	CreateForumResponse create(Long userId, String sessionId, CreateForumBean createForumBean);

	ForumPosts getForumThreadPosts(Long threadId);

	ForumPosts getForumThreads(Long forumId);

	List<Forum> getForumsWithInfo();
}
